package com.xuetang9.t9.xinhuaxia.service;

import com.github.pagehelper.PageInfo;
import com.xuetang9.t9.xinhuaxia.beans.FirstCategory;

import java.util.List;

/**
 * @author 李亚奇
 * @version 1.0
 * @desc TODO
 * @date 2020/3/1 13:18
 * @copyright liyq
 * @address 成都西部国际金融中心2栋2201
 **/
public interface IFirstCategoryService {

    boolean insert(FirstCategory firstCategory);

    boolean remove(Long id);

    boolean update(FirstCategory firstCategory);

    FirstCategory queryById(Long id);

    FirstCategory queryByName(FirstCategory firstCategory);

    List<FirstCategory> queryAll();

    PageInfo<FirstCategory> queryByPage(int currentPage, int perPageSize);
}
